package com.hht.weblog.web.model.vo.archive;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.YearMonth;
import java.util.List;

/**
 * @author 何鸿涛
 * @date 2024/11/15 下午10:09
 * @description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FindArchiveArticlePageListRspVO {
    /**
     * 归档的月份
     */
    private YearMonth month;

    private List<FindArchiveArticleRspVO> articles;

    // 显式添加 setter 方法
    public void setArticles(List<FindArchiveArticleRspVO> articles) {
        this.articles = articles;
    }

}

